<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>搜禾网股东合伙人招募</title>
		<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
		<meta content="yes" name="apple-mobile-web-app-capable" />
		<meta content="black" name="apple-mobile-web-app-status-bar-style" />
		<meta content="telephone=no" name="format-detection" />
	
		<!-- 引入YDUI样式 -->

		<link rel="stylesheet" href="http://cdn.bootcss.com/weui/1.1.1/style/weui.min.css">
		<link rel="stylesheet" href="http://cdn.bootcss.com/jquery-weui/1.0.1/css/jquery-weui.min.css">
	
		<style type="text/css">
			.btn-lv {
				background-color: #15CE67;
				color: #FFFFFF;
			}
			option{

text-align:center;

}

body, html {
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}
.demos-title {
  text-align: center;
  font-size: 34px;
  color: #3cc51f;
  font-weight: 400;
  margin: 0 15%;
}

.demos-sub-title {
  text-align: center;
  color: #888;
  font-size: 14px;
}

.demos-header {
  padding: 35px 0;
}

.demos-content-padded {
  padding: 15px;
}

.demos-second-title {
  text-align: center;
  font-size: 24px;
  color: #3cc51f;
  font-weight: 400;
  margin: 0 15%;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 20px;
}

footer a {
  color: #999;
  text-decoration: none;
}
		</style>
	</head>

	<body>
		<div class="content">
			<img src="{:_SKIN}/weixin/apiteam/images/0.png" width="100%" />
			<img src="{:_SKIN}/weixin/apiteam/images/1.png" width="100%" class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/2.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/3.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/4.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/5.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/6.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/7.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/8.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/9.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/10.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/11.png" width="100%"  class="pics"/>
			<img src="{:_SKIN}/weixin/apiteam/images/12.png" width="100%"  class="pics"/>
			
			<div class="weui-cells__title" id="dd1">您的信息</div>
			
			<div class="weui-cells weui-cells_form">
				
      <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">姓名</label></div>
        <div class="weui-cell__bd">
          <input class="weui-input" type="text" id="name"  placeholder="请输入您的姓名">
        </div>
      </div>
      
      
      
   <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">手机号</label></div>
        <div class="weui-cell__bd">
          <input class="weui-input" type="text" id="tel" placeholder="请输入您的手机号">
        </div>
      </div>
     
      <div class="weui-cell weui-cell_select weui-cell_select-after">
        <div class="weui-cell__hd">
          <label for="" class="weui-label">性别</label>
        </div>
        <div class="weui-cell__bd">
          <select class="weui-select" id="sex" name="select2">
            <option value="1">请选择性别</option>
            <option value="男">男</option>
            <option value="女">女</option>
          </select>
        </div>
      </div>
   
      
      </div>

     <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">微信号</label></div>
        <div class="weui-cell__bd">
          <input class="weui-input" type="text" id="wx" placeholder="请输入您的微信号">
        </div>
      </div>
      
      <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">公司名称</label></div>
        <div class="weui-cell__bd">
          <input class="weui-input" type="text"  id="gs" placeholder="请输入您的公司名称">
        </div>
      </div>
      
      <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">职位</label></div>
        <div class="weui-cell__bd">
          <input class="weui-input" type="text" id="zw"  placeholder="请输入您的职位">
        </div>
      </div>
      
      
     <div class="weui-btn-area">
      <a class="weui-btn weui-btn_primary"  href="javascript:" onclick="add()" style="background-color: #15CE67;" id="showTooltips">确定</a>
    </div>
    </div>
		
			<img src="{:_SKIN}/weixin/apiteam/images/a14.png" width="100%" />

			<a  class="btn-block btn-lv" id="fbtn"  style="position: fixed;bottom: 0;left: 0; display: block; width: 100%;text-align: center;height: 46px;line-height: 46px;" href="#dd1" onclick="dss()">立即报名</a>
		</div>
		
		
		<script src="http://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
		<script src="http://cdn.bootcss.com/jquery-weui/1.0.1/js/jquery-weui.min.js"></script>
		<script src="http://cdn.bootcss.com/jquery-weui/1.0.1/js/swiper.min.js"></script>

		<script>
			  $(function() {
			    FastClick.attach(document.body);
			  });

		</script>
		<script>
          var picindex=0;
	      var pb1 = $.photoBrowser({
	        items: [
	          "{:_SKIN}/weixin/apiteam/images/1.png",
	          "{:_SKIN}/weixin/apiteam/images/2.png",
	           "{:_SKIN}/weixin/apiteam/images/3.png",
	            "{:_SKIN}/weixin/apiteam/images/4.png",
	             "{:_SKIN}/weixin/apiteam/images/5.png",
	              "{:_SKIN}/weixin/apiteam/images/6.png",
	               "{:_SKIN}/weixin/apiteam/images/7.png",
	                "{:_SKIN}/weixin/apiteam/images/8.png",
	                 "{:_SKIN}/weixin/apiteam/images/9.png",
	                  "{:_SKIN}/weixin/apiteam/images/10.png",
	                   "{:_SKIN}/weixin/apiteam/images/11.png",
	                    "{:_SKIN}/weixin/apiteam/images/12.png",
	         
	        ],
	        
	        initIndex:picindex,
	
	        onSlideChange: function(index) {
	          console.log(this, index);
	        },
	
	        onOpen: function() {
	          console.log("onOpen", this);
	        },
	        onClose: function() {
	          console.log("onClose", this);
	        }
	      });
	      $(".pics").click(function() {
	      	var indexs=$(this).index();
	      	 picindex=indexs-1;
	      	 pb1.open(indexs-1);
	      });
	      
	    </script>
		<script type="text/javascript">
              
            function dss(){

            	 $("#fbtn").hide();  
            }  

			function add(Name) {
				
				var aa = $('#name').val();
			    var bb = $('#tel').val();
			if(!aa||bb.length!=11) {
                $.alert('请输入正确的资料', function(){

                });
					return false;
				}
               $.showLoading();
			$.get("http://sohe.77wx.cn/weixin/index/apiteam",{
				name:aa,
				tel:bb,
				
				desc:$('#txt').val(),
				source:"合伙人招募书",
				gs:$("#gs").val(),
				zw:$("#zw").val(),
				wx:$("#wx").val(),
				sex:$("#sex").val()
				
				
			},function(res){
				
				
				if (res.code==200) {
					
					$.alert('保存成功！', function(){
                      $.hideLoading();
                         $('#name').val(' ');
                         $('#tel').val(' ');
                         $('#txt').val(' ');
    					
					})
					
				} else{
                   $.hideLoading();
					$.alert('保存失败！请稍后再试', function(){
    
					})
				}
				
				
				
				
			});
			
			
			
			}
			
		
			
		</script>
	</body>

</html>